package com.newtouch.bxzs.common.base.em;

/**
 * 性别枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/25 13:55</td>
 * <td>linhongxi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author linhongxi
 * @version 1.0.0
 * @since 1.0.0
 */
public enum GenderTypeEnum {
	// 男
    MAN(1,"男"),
    // 女
    WOMAN(2,"女"),
    // 其他
    OTHER(3,"其他");

    /**
     * 性别码
     */
    private Integer code;
    /**
     * 性别信息
     */
    private String status;

    /**
     *
     * @param code 枚举码
     * @param state 枚举值
     */
    GenderTypeEnum(Integer code, String state){
        this.code=code;
        this.status=state;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
		return status;
	}

}
